package com.qcby.query;

import com.qcby.Entity.TrainNum;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class TrainNumQuery extends TrainNum implements Serializable {
    private static final long serialVersionUID = 1L;
    private List<TrainDetailQuery> trainDetailQueries;
    private List<TrainOrderQuery> trainOrderQueries;

    private Integer fromIndex;
    private Integer toIndex;

    private Integer ticket;
    private Integer price;
    private Date fromTime;
    private Date toTime;

    public Integer getTicket() {
        return ticket;
    }

    public void setTicket(Integer ticket) {
        this.ticket = ticket;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Date getFromTime() {
        return fromTime;
    }

    public void setFromTime(Date fromTime) {
        this.fromTime = fromTime;
    }

    public Date getToTime() {
        return toTime;
    }

    public void setToTime(Date toTime) {
        this.toTime = toTime;
    }

    public Integer getFromIndex() {
        return fromIndex;
    }

    public void setFromIndex(Integer fromIndex) {
        this.fromIndex = fromIndex;
    }

    public Integer getToIndex() {
        return toIndex;
    }

    public void setToIndex(Integer toIndex) {
        this.toIndex = toIndex;
    }

    public List<TrainOrderQuery> getTrainOrderQueries() {
        return trainOrderQueries;
    }

    public void setTrainOrderQueries(List<TrainOrderQuery> trainOrderQueries) {
        this.trainOrderQueries = trainOrderQueries;
    }

    public List<TrainDetailQuery> getTrainDetailQueries() {
        return trainDetailQueries;
    }

    public void setTrainDetailQueries(List<TrainDetailQuery> trainDetailQueries) {
        this.trainDetailQueries = trainDetailQueries;
    }
}
